package jdk.collection.custom;

import com.alibaba.fastjson.JSONObject;

import java.util.Map;

public class ArrayMapDemo {

    public static void main(String[] args) {
        Map<String, String> map = new ArrayMap<>();
        map.put("name", "luobinjie");
        map.put("phone", "15817038288");
        System.out.println(map);
        // entrySet method

        System.out.println(map.get("name"));

        System.out.println(JSONObject.toJSONString(map));

    }
}
